package com.example.qmzy_202208190217.logic.network

import com.example.qmzy_202208190217.SunnyWeatherApplication
import com.example.qmzy_202208190217.logic.model.PlaceResponse;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

interface PlaceService {
    @GET(value = "v2/place?token=${SunnyWeatherApplication.TOKEN}&lang=zh_CN")
    fun searchPlaces(@Query(value = "query") query: String): Call<PlaceResponse>
}